﻿using EnterpriseWebsiteUtil.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EnterpriseWebsiteApi.Dto.Product
{
    public class ProductWebSingleDTO
    {
        public int Id { get; set; }

        [LangSplitField("ProductName")]
        public string ProductName { get; set; }

        [LangSplitField("ProductName", LangType.en)]
        public string ProductNameEn { get; set; }

        [LangSplitField("ShortDescription")]
        public string ShortDescription { get; set; }

        [LangSplitField("ShortDescription", LangType.en)]
        public string ShortDescriptionEn { get; set; }

        [LangSplitField("LongDescription",filterValue: @"<p><br><\/p>")]
        public string LongDescription { get; set; }

        [LangSplitField("LongDescription", LangType.en, filterValue: @"<p><br><\/p>")]
        public string LongDescriptionEn { get; set; }

        [LangSplitField("Unit")]
        public string Unit { get; set; }

        [LangSplitField("Unit", LangType.en)]
        public string UnitEn { get; set; }

        public string MainImageUrl { get; set; }

        public string DetailImageUrls { set; get; }

        public decimal Price { set; get; }

        public int CategoryId { get; set; }

        public bool ShowPrice { set; get; }

        //public string Currencies { set; get; }
    }
}
